<div class="clearfix"></div>

<!-- Start footer -->
<footer>
    <div class="container">
        <div class="row">
            <div class="span12 aligncenter">
                <?php if ($facebook_link && $facebook_link['Settings']['value']): ?>
                    <a href="<?php echo $facebook_link['Settings']['value'] ?>" class="socila-link">
                        <span class="social-hover"><?php echo $this->Html->image('social/fb-hover.png', array('alt' => '')); ?></span>
                        <?php echo $this->Html->image('social/fb.png', array('alt' => '')); ?>
                    </a>
                <?php endif; ?>
                <?php if ($twitter_link && $twitter_link['Settings']['value']): ?>
                    <a href="<?php echo $twitter_link['Settings']['value'] ?>" class="socila-link">
                        <span class="social-hover"><?php echo $this->Html->image('social/twitter-hover.png', array('alt' => '')); ?></span>
                        <?php echo $this->Html->image('social/twitter.png', array('alt' => '')); ?>
                    </a>
                <?php endif; ?>

                <?php if ($linkedin_link && $linkedin_link['Settings']['value']): ?>
                    <a href="<?php echo $linkedin_link['Settings']['value'] ?>" class="socila-link">
                        <span class="social-hover"><?php echo $this->Html->image('social/linkedin-hover.png', array('alt' => '')); ?></span>
                        <?php echo $this->Html->image('social/linkedin.png', array('alt' => '')); ?>
                    </a>
                <?php endif; ?>

                <?php if ($google_plus_link && $google_plus_link['Settings']['value']): ?>
                    <a href="<?php echo $google_plus_link['Settings']['value'] ?>" class="socila-link">
                        <span class="social-hover"><?php echo $this->Html->image('social/google-plus-hover.png', array('alt' => '')); ?></span>
                        <?php echo $this->Html->image('social/google-plus.png', array('alt' => '')); ?>
                    </a>
                <?php endif; ?>

                <?php if ($site_email && $site_email['Settings']['value']): ?>
                    <a href="mailto:<?php echo $site_email['Settings']['value'] ?>" class="socila-link">
                        <span class="social-hover"><?php echo $this->Html->image('social/email-hover.png', array('alt' => '')); ?></span>
                        <?php echo $this->Html->image('social/email.png', array('alt' => '')); ?>
                    </a>
                <?php endif; ?>

                <?php if ($rss_link && $rss_link['Settings']['value']): ?>
                    <a href="<?php echo $rss_link['Settings']['value'] ?>" class="socila-link">
                        <span class="social-hover"><?php echo $this->Html->image('social/rss-hover.png', array('alt' => '')); ?></span>
                        <?php echo $this->Html->image('social/rss.png', array('alt' => '')); ?>
                    </a>
                <?php endif; ?>

                <hr />
            </div>					
        </div>
        <div class="row">
            <div class="span8">
                <ul class="footer-link">
                    <li><a href="<?php echo $this->Html->url('/'); ?>">Home</a></li>
                    <li><a href="<?php echo $this->Html->url('/#about'); ?>">About</a></li>                    
                    <li><a href="<?php echo $this->Html->url('/#contact'); ?>">Contact</a></li>		
                </ul>
            </div>	
            <div class="span4">
                <ul class="footer-contact">
                    <?php if ($site_email && $site_email['Settings']['value']) echo '<li><i class="icon-envelope-alt"></i> ' . $site_email['Settings']['value'] . '</li>'; ?>
                    <?php if ($site_phone && $site_phone['Settings']['value']) echo '<li><i class="icon-phone"></i> ' . $site_phone['Settings']['value'] . '</li>'; ?>
                </ul>
            </div>			
        </div>				
    </div>
    <div class="clearfix"></div>
    <div class="subfooter">
        <div class="container">
            <div class="row">
                <div class="span6">
                    <span class="copyright">&copy; Copyright <?php echo date('Y'); ?> <a href="<?php echo $this->Html->url('/'); ?>">JUSTERT</a> &#45; All Rights Reserved</span>	
                </div>
                <div class="span6">
                    <span class="copyright">Design and Develop by <a href="http://www.tiger-map.com/">Tiger map</a></span>	
                </div>
            </div>
        </div>
    </div>			
</footer>
<!-- End footer -->
